package com.vote.dao;

import com.vote.pojo.Win;
import com.vote.pojo.WinExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WinMapper {
    int countByExample(WinExample example);

    int deleteByExample(WinExample example);

    int deleteByPrimaryKey(Integer winId);

    int insert(Win record);

    int insertSelective(Win record);

    List<Win> selectByExample(WinExample example);

    Win selectByPrimaryKey(Integer winId);

    int updateByExampleSelective(@Param("record") Win record, @Param("example") WinExample example);

    int updateByExample(@Param("record") Win record, @Param("example") WinExample example);

    int updateByPrimaryKeySelective(Win record);

    int updateByPrimaryKey(Win record);
}